package yang.itcode.service;

import cn.hutool.json.JSONObject;
import com.github.pagehelper.PageInfo;

public interface CustomerService {
    boolean addCustomer(JSONObject obj);

    PageInfo<JSONObject> getCustomerList(Integer pageNum, Integer pageSize, JSONObject condition);

    JSONObject getCustomerDetail(Integer id);

    boolean updateCustomer(JSONObject obj);

    boolean deleteCustomer(Integer id);
}
